body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
.el-container {
  background-color: rgb(238, 232, 232);
  display: flex;
  flex-direction: column;
}
.el-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  
  background-color: rgb(255, 255, 255);
  display: flex;
  .titleBox {
    width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    .article-title {
      font-weight: 800;
      font-size: 18px;
    }
    .authorBox {
      display: flex;
      align-items: center;
      justify-content: space-around;
    }
  }
}
.el-main {
  padding-top: 15px;
  margin-top: 60px;
  .main {
    width: 900px;
    margin: 0 auto;
    display: flex;
    // 左边内容区
    .articleContent {
      background-color: rgb(255, 250, 250);
      margin-right: 10px;
      width: 705px;
      padding: 25px;
      padding-top: 15px;
      p {
        font-size: 13px;
      }
    }
    // 右边区
    .rightBox {
      width: 22%;
      .kongbai {
        height: 200px;
        background-color: #fff;
      }
      // 右侧作者框
      .authorArticleBox {
        margin-top: 10px;
        /deep/ .el-card__header {
          padding: 10px 10px;
        }

        .clearfix {
          width: 100%;
          display: flex;
          align-items: start;
          justify-content: space-around;
          span {
            font-size: 13px;
          }
          .el-button {
            padding: 4px 7px;
            font-weight: 100;
            margin-left: 20px;
          }
        }
        //  作者内容
        /deep/.el-card__body {
          padding: 10px;
        }
       
      }

      // 推荐文章
      .tuijian-article {
        margin-top: 10px;
        .box-card {
          /deep/ .el-card__header {
            padding: 10px 10px;
          }
          .clearfix {
            span {
              font-weight: 800;
            }
            span:nth-child(2) {
              padding-left: 5px;
            }
          }
          //  作者内容
          /deep/.el-card__body {
            padding: 10px;
          }
          // 文章
          .text-item {
            font-family: cursive;
            padding-bottom: 1px;
            p {
              font-size: 15px;
              margin: 5px 0;
            }
            p:last-child {
              font-size: 12px;
              color: rgb(139, 137, 137);
            }
          }
        }
      }
    }
  }
}

// 评论界面
.commentBox {
  margin-top: -20px;
  
  .main {
    .commentContent {
      background-color: rgb(255, 250, 250);
      width: 705px;
      display: flex;
      flex-direction: column;
      // 评论框
      .commentInput {
        width: 95%;
        margin: 0 auto;
        padding-top: 30px;

        // 背景颜色
        /deep/ .el-textarea__inner {
          background-color: #eee;
        }
        /deep/ .el-textarea__inner:focus {
          border-color: #dcdfe6;
        }
      }

  //  评论框下发布按钮
     .bntBox{
       display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 10px;
        span{
          font-size: 13px;
          padding-left: 20px;
        }
      .bnt{
        padding-right: 20px;
      }
   }

      // 主要的评论内容
      .commentInfo {
        .quanbupinlun {
          padding: 20px 20px 10px 20px;
          span:first-child {
            font-weight: 900;
            padding-right: 7px;
          }
          // 评论数
          .commentNum {
            font-size: 12px;
            padding-left: 8px;
          }
        }

        .infoBox {
          height: 102px;
          padding-top: 10px;
          .username {
            display: flex;
            align-items: center;
            padding-left: 20px;

            // 头像列表
            .nameInfo {
              padding-left: 10px;
              font-size: 11px;
              color: rgb(165, 165, 165);
              .name {
                font-size: 14px;
              }
              .time {
                span:first-child {
                  padding-right: 8px;
                }
              }
            }
          }
          //  评论的具体内容
          .info {
            padding: 10px 30px 10px 65px;
            font-size: 14px;
          }
          .starbox {
            font-size: 14px;
            color: rgb(161, 157, 157);
            padding-left: 65px;

            span:first-child {
              padding-right: 10px;
            }
          }
          //  分割线样式
          .el-divider {
            margin: 10px 0;
          }
        }
      }
    }
  }
}
